package guoanmaker.operator.business.service;

import guoanmaker.operator.business.model.OperatorCouponPage;
import guoanmaker.operator.business.model.OperatorSpace;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author huZhaoyu 
 * @ClassName: OperatorCouponPageServiceInterface 
 * @Description: OperatorCouponPageServiceInterface
 * @date 2017/6/28
 */
public interface OperatorCouponPageServiceInterface {

    /** 
    * @Title: saveCouponPage
    * @Description: 新增/修改 优惠劵
    * @param：OperatorRoundPhoto   
    * @return OperatorCouponPage    
    * @throws 
    */
    OperatorCouponPage saveCouponPage(OperatorCouponPage operatorCouponPage);

    /** 
    * @Title: getAllCouponPage
    * @Description: 查询所有优惠劵
    * @param：void  
    * @return List<OperatorCouponPage>   
    * @throws 
    */
    List<OperatorCouponPage> getAllCouponPage();

    /** 
    * @Title: getAllCouponPageByPage
    * @Description: 查询全部优惠劵并分页 
     * @param：Integer page 页码  
     * @param：Integer size 条数 
    * @return Page<OperatorCouponPage>   
    * @throws 
    */
    Page<OperatorCouponPage> getAllCouponPageByPage(Integer page, Integer size);

    /** 
    * @Title: deleteCouponPageById
    * @Description: 根据Id删除优惠劵 
    * @param： String id   
    * @return void   
    * @throws 
    */
    void deleteCouponPageById(String id);

    /** 
    * @Title: getCouponPageById 
    * @Description: 根据Id查询优惠劵
    * @param： String id
    * @return OperatorCouponPage    
    * @throws 
    */
    OperatorCouponPage getCouponPageById(String id);


}
